package com.ysjweb.dish.Service.impl;

import dev.langchain4j.service.SystemMessage;
import dev.langchain4j.service.spring.AiService;
import dev.langchain4j.service.spring.AiServiceWiringMode;
import reactor.core.publisher.Flux;

@AiService(
        wiringMode = AiServiceWiringMode.EXPLICIT,
        chatModel = "openAiChatModel",
        streamingChatModel = "openAiStreamingChatModel",
        contentRetriever = "contentRetriever"
)
public interface AiRecommendByResource {
    @SystemMessage(fromResource = "role2.txt")
    public Flux<String> recommendByResource(String need);
}
